package com.syt.cmn;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @Author: xxx
 * @Date: 2023/1/31 21:01
 * @Description: 预约启动类
 */
@EnableTransactionManagement
@ComponentScan("com.syt")
@SpringBootApplication
//开启nacos
@EnableDiscoveryClient
public class ServerCmnApplication {
    public static void main(String[] args) {
        System.out.println("字典服务");
        SpringApplication.run(ServerCmnApplication.class, args);
    }
}
